<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="Generator" content="ALORK 20150428.01" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="<?php echo $this->_var['keywords']; ?>" />
<meta name="Description" content="<?php echo $this->_var['description']; ?>" />

<title><?php echo $this->_var['page_title']; ?></title>

<link href="<?php echo $this->_var['ecs_css_category']; ?>" rel="stylesheet" type="text/css" />
<?php if ($this->_var['cat_style']): ?>
<link href="<?php echo $this->_var['cat_style']; ?>" rel="stylesheet" type="text/css" />
<?php endif; ?>
<link href="<?php echo $this->_var['ecs_css_my']; ?>" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->_var['__PUC__']; ?>css/common.css" />

<?php echo $this->smarty_insert_scripts(array('files'=>'utils.js,common.js,global.js,compare.js,index.js,jquery.js')); ?>
</head>
<body>
  <?php echo $this->fetch('library/page_header.lbi'); ?>
<div id="category">
  <div class="content">
    
    <div class="cate_right" id="cate_right">
      <div class="top">热卖推荐</div>
      <?php $_from = $this->_var['goods_hot']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'goods_hot_0_39054700_1443514499');$this->_foreach['goods_hot'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['goods_hot']['total'] > 0):
    foreach ($_from AS $this->_var['key'] => $this->_var['goods_hot_0_39054700_1443514499']):
        $this->_foreach['goods_hot']['iteration']++;
?>
      <div class="box">
        <a href="<?php echo $this->_var['goods_hot_0_39054700_1443514499']['url']; ?>" target="_blank" class="come_box">
          <img src="images/defaultico.gif" class="loadimg loadbg" data-original="<?php echo $this->_var['goods_hot_0_39054700_1443514499']['goods_thumb']; ?>" alt="<?php echo $this->_var['goods_hot_0_39054700_1443514499']['goods_name']; ?>" width="215" height="215" id="goods_thumb" />
          <span class="name"><?php echo $this->_var['goods_hot_0_39054700_1443514499']['goods_name']; ?></span>
        </a>
        <div class="price">
              <?php if ($this->_var['goods_hot_0_39054700_1443514499']['promote_price']): ?>
              <span class="shop_price"><?php echo $this->_var['goods_hot_0_39054700_1443514499']['promote_price']; ?></span>
              <?php else: ?>
              <span class="shop_price"><?php echo $this->_var['goods_hot_0_39054700_1443514499']['shop_price']; ?></span>
              <?php endif; ?>
              <span class="sum_comment">已有人<?php echo $this->_var['goods_hot_0_39054700_1443514499']['counts']; ?>评论</span>
        </div>
      </div>
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
    </div>

    <div class="cate_left">
        <div id="crumb">
            <form action="search.php">
            <ul class="crumbSlide-con clearfix">
            <?php $_from = $this->_var['crumb']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item']):
?>
                <?php if (empty ( $this->_var['item']['crumbAttr'] )): ?>
                <li>
                    <a class="crumbStrong" href="<?php echo $this->_var['item']['url']; ?>" title="<?php echo $this->_var['item']['name']; ?>"><?php echo $this->_var['item']['name']; ?></a><span class="crumbArrow">></span>
                </li>
                <?php else: ?>
                <li class="crumbAttr">
                    <a class="crumbStrong" href="<?php echo $this->_var['item']['url']; ?>" title="<?php echo $this->_var['item']['name']; ?>"><span class="name"><?php echo $this->_var['item']['name']; ?></span><span class="crumbArrow">X</span></a>
                </li>
                <?php endif; ?>
            <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
            </ul>
            <li>
            <label class="crumbSearch-label" for="J_CrumbSearchInuput">
                <input type="text" name="q" value="<?php echo $this->_var['q']; ?>" class="crumbSearch-input" id="J_CrumbSearchInuput">
                <input type="submit" value="" class="crumbSearch-btn">
            </label>
            <input type="hidden" name="c" value="<?php echo $this->_var['c']; ?>"/>
            <input type="hidden" name="b" value="<?php echo $this->_var['b']; ?>" />
            </li>
            </form>
        </div>
        <?php if (! empty ( $this->_var['brandList'] )): ?>
        <div class="cate">
            <div class="brands_list">
                <div class="left" id="brands_list_left"><span class="text">品牌</span><span class="bias"></span></div>
                <div class="right" id="brands_list_right">
                <?php $_from = $this->_var['brandList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item']):
?>
                    <?php if ($this->_var['item']['brand_logo']): ?>
                    <li class="box">
                        <a href="<?php echo $this->_var['item']['url']; ?>">
                            <img src="<?php echo empty($this->_var['item']['brand_logo']) ? '' : $this->_var['item']['brand_logo']; ?>" class="loadimg" width="90" height="42" title="<?php echo $this->_var['item']['brand_name']; ?>"/>
                        </a>
                    </li>
                    <?php else: ?>
                    <li class="box">
                        <a href="<?php echo $this->_var['item']['url']; ?>" title="<?php echo $this->_var['item']['brand_name']; ?>">
                            <span><?php echo $this->_var['item']['brand_name']; ?></span>
                        </a>
                    </li>
                    <?php endif; ?>
                    <?php if ($this->_var['key'] == 8): ?>
                    <div class="more" id="brands_list_more" onclick="brands_more();">更多</div>
                    <div class="some" id="brands_list_some" onclick="brands_some();">收起</div>
                    <?php endif; ?>
                <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
                </div>
            </div>
        </div>
        <?php endif; ?>
        <?php if (! empty ( $this->_var['catList'] )): ?>
        <div class="cate">
            <div class="list">
                <div class="left"><a>分类</a></div>
                <div class="right">
                    <?php $_from = $this->_var['catList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item']):
?>
                    <a href="<?php echo $this->_var['item']['url']; ?>" title="<?php echo $this->_var['item']['cat_name']; ?>"><?php echo $this->_var['item']['cat_name']; ?></a>
                    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
                </div>
            </div>
        </div>
        <?php endif; ?>
        <div class="main">
        <?php if (! empty ( $this->_var['goodsList'] )): ?>
        <div id="list_nav">
            <a href="search.php?c=<?php echo $this->_var['c']; ?>&b=<?php echo $this->_var['b']; ?>&page=<?php echo $this->_var['pager']['page']; ?>&sort=sort_orders&order=ASC&q=<?php echo $this->_var['q']; ?>" class="defure <?php if ($this->_var['pager']['search']['sort'] == 'sort_orders' && $this->_var['pager']['search']['order'] == 'ASC'): ?>DESC<?php endif; ?>">综合排序</a>
            <div class="nav_right">
                <div class="sort ">
                    <a href="search.php?c=<?php echo $this->_var['c']; ?>&b=<?php echo $this->_var['b']; ?>&page=<?php echo $this->_var['pager']['page']; ?>&sort=buy_sum&order=DESC&q=<?php echo $this->_var['q']; ?>" class="buy_sum <?php if ($this->_var['pager']['search']['sort'] == 'buy_sum' && $this->_var['pager']['search']['order'] == 'DESC'): ?>DESC<?php endif; ?>">销量<span class="arrow"></span></a>
                    <a href="search.php?c=<?php echo $this->_var['c']; ?>&b=<?php echo $this->_var['b']; ?>&page=<?php echo $this->_var['pager']['page']; ?>&sort=click_count&order=DESC&q=<?php echo $this->_var['q']; ?>" class="click_count <?php if ($this->_var['pager']['search']['sort'] == 'click_count' && $this->_var['pager']['search']['order'] == 'DESC'): ?>DESC<?php endif; ?>">人气<span class="arrow"></span></a>
                    <a href="search.php?c=<?php echo $this->_var['c']; ?>&b=<?php echo $this->_var['b']; ?>&page=<?php echo $this->_var['pager']['page']; ?>&sort=last_update&order=DESC&q=<?php echo $this->_var['q']; ?>" class="last_update <?php if ($this->_var['pager']['search']['sort'] == 'last_update' && $this->_var['pager']['search']['order'] == 'DESC'): ?>DESC<?php endif; ?>">新品<span class="arrow"></span></a>
                    <a href="search.php?c=<?php echo $this->_var['c']; ?>&b=<?php echo $this->_var['b']; ?>&page=<?php echo $this->_var['pager']['page']; ?>&sort=area_price&order=<?php if ($this->_var['pager']['search']['sort'] == 'area_price' && $this->_var['pager']['search']['order'] == 'ASC'): ?>DESC<?php else: ?>ASC<?php endif; ?>&q=<?php echo $this->_var['q']; ?>" class="shop_price <?php if ($this->_var['pager']['search']['sort'] == 'area_price' && $this->_var['pager']['search']['order'] == 'DESC'): ?>ASC<?php elseif ($this->_var['pager']['search']['sort'] == 'area_price'): ?>DESC<?php endif; ?>">价格<span class="arrow"></span></a>
                </div>
                <div class="page_some">
                    <?php if ($this->_var['pager']['page_prev']): ?><a class="prev right" href="<?php echo $this->_var['pager']['page_prev']; ?>"><</a><?php endif; ?>
                    <a class="pager"><?php echo $this->_var['pager']['page']; ?>/<?php echo $this->_var['pager']['page_count']; ?></a>
                    <?php if ($this->_var['pager']['page_next']): ?><a class="next right" href="<?php echo $this->_var['pager']['page_next']; ?>">></a><?php endif; ?>
                </div>
            </div>
        </div>
        <div class="goods_list" id="goods_list">
            <?php $_from = $this->_var['goodsList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');if (count($_from)):
    foreach ($_from AS $this->_var['goods']):
?>
            <div class="box">
                <a href="<?php echo $this->_var['goods']['url']; ?>" target="_blank" class="come_box">
                    <img src="images/defaultico.gif" class="loadimg loadbg" data-original="<?php echo $this->_var['goods']['goods_thumb']; ?>"  width="237" height="237" id="goods_thumb" />
                    <?php if ($this->_var['goods']['promote_price']): ?>
                    <div class="limit_icon"></div>
                    <?php endif; ?>
                    <?php if ($this->_var['goods']['is_new'] == 1): ?>
                    <div class="by_your_pricing"></div>
                    <?php endif; ?>
                </a>
                <div class="thumb">
                    <?php $_from = $this->_var['goods']['thumb_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'thumb_list');if (count($_from)):
    foreach ($_from AS $this->_var['thumb_list']):
?>
                    <img src="images/defaultico.gif" class="loadimg" data-original="<?php echo $this->_var['thumb_list']['thumb_url']; ?>" width="43px" height="43px" onclick="$(this).parent().parent().find('#goods_thumb').attr('src',$(this).attr('src'));$(this).addClass('before').siblings().removeClass('before');" />
                    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
                </div>
                <div class="name">
                  <span><a href="<?php echo $this->_var['goods']['url']; ?>" target="_blank"><?php echo $this->_var['goods']['goods_name']; ?></a></span>
                </div>
                <div class="price">
                    <?php if ($this->_var['goods']['promote_price']): ?>
                    <span class="shop_price"><?php echo $this->_var['goods']['promote_price']; ?></span>
                    <?php else: ?>
                    <span class="shop_price"><?php echo $this->_var['goods']['shop_price']; ?></span>
                    <?php endif; ?>
                    <span class="market_price"><?php echo $this->_var['goods']['market_price']; ?></span>
                </div>
                <!-- <span style="color:#ab0409; font-size:12px; display:block; padding:0px 10px;">买100送50,买300送150,买500送300</span> -->
                <div class="status">
                    <?php if (! $this->_var['goods']['is_taodan']): ?>
                    <span class="buy_sum">销量：<?php if (! empty ( $this->_var['goods']['salse'] )): ?><?php echo $this->_var['goods']['salse']; ?><?php endif; ?></span><?php if (! empty ( $this->_var['goods']['stock'] )): ?><span class="right">有货</span><?php else: ?><span class="right c_fff">无货</span><?php endif; ?>
                    <?php endif; ?>
                </div>
            </div>
            <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
            <?php if ($this->_var['pager']['page_next']): ?><a class="next_page" href="<?php echo $this->_var['pager']['page_next']; ?>"><span></span></a><?php endif; ?>
            <div class="hr1"></div>
        </div>

        
        <?php if ($this->_var['pager']['page_count'] != 1): ?>
        <div class="page_list">
        <div class="list">
            <?php if ($this->_var['pager']['page_prev']): ?><a class="prev" href="<?php echo $this->_var['pager']['page_prev']; ?>">上一页</a><?php endif; ?>
            <?php if ($this->_var['pager']['page_count'] != 1): ?>
                <?php $_from = $this->_var['pager']['page_number']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item']):
?>
                    <?php if ($this->_var['pager']['page'] == $this->_var['key']): ?>
                    <a class="page_now"><?php echo $this->_var['key']; ?></a>
                    <?php else: ?>
                    <?php if (! $this->_var['pager']['max'] || $this->_var['key'] != $this->_var['pager']['page_count']): ?>
                    <a href="<?php echo $this->_var['item']; ?>"><?php echo $this->_var['key']; ?></a>
                    <?php else: ?>
                    <span class="more_page">......</span>
                    <a href="<?php echo $this->_var['item']; ?>"><?php echo $this->_var['key']; ?></a>
                    <?php endif; ?>
                    <?php endif; ?>
                <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
            <?php endif; ?>
            <?php if ($this->_var['pager']['page_next']): ?><a class="next" href="<?php echo $this->_var['pager']['page_next']; ?>">下一页</a><?php endif; ?>
            <?php if ($this->_var['pager']['page_kbd']): ?>
            <form class="go_page" name="selectPageForm" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get">
            <?php $_from = $this->_var['pager']['search']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item']):
?>
                <?php if ($this->_var['key'] == 'keywords'): ?>
                    <input type="hidden" name="<?php echo $this->_var['key']; ?>" value="<?php echo urldecode($this->_var['item']); ?>" />
                <?php else: ?>
                    <input type="hidden" name="<?php echo $this->_var['key']; ?>" value="<?php echo $this->_var['item']; ?>" />
                <?php endif; ?>
            <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
            <input type="text" name="page" size="3" class="B_blue" id="pager_page" />
            <input class="go_page_butn" name="imageField" type="submit" value="确认" style="cursor:pointer;" />
            </form>
            <?php endif; ?>
        </div>
        </div>
        <?php endif; ?>
        <?php else: ?>
        <div class="no-goods">
            <img src="<?php echo $this->_var['__PUC__']; ?>img/search/no-goods.jpg" alt=""  style="margin: 40px auto;display: block;"/>
        </div>
        <?php endif; ?>
        
        <div class="cate_bottom">
              <?php $_from = $this->_var['ad_1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'ad');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['ad']):
?>
                <a href="<?php echo $this->_var['ad']['ad_link']; ?>"><img src="images/defaultico.gif" class="loadimg loadbg" data-original="../data/afficheimg/<?php echo $this->_var['ad']['ad_code']; ?>" alt="" width="1039px;" height="175px;" /></a>
              <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
        </div>
        
        <div class="you_like" id="TTSlider">
          <div class="top">
            <span class="left">猜你喜欢</span>
            <a class="right">换一批</a>
          </div>
          <div class="ad" id="ad">
              <div class="content">
                <div class="flexslider" id ="ad_content">
                    <ul class="slides">
                  <li>
                    <?php $_from = $this->_var['goods_random']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'goods_random_0_39673400_1443514499');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['goods_random_0_39673400_1443514499']):
?>
                    <?php if ($this->_var['key'] >= 0 && $this->_var['key'] < 5): ?>
                    <div class="box1">
                      <a href="<?php echo $this->_var['goods_random_0_39673400_1443514499']['url']; ?>" target="_blank">
                            <img src="images/defaultico.gif" class="loadimg loadbg" data-original="<?php echo $this->_var['goods_random_0_39673400_1443514499']['goods_thumb']; ?>" alt="<?php echo $this->_var['goods_random_0_39673400_1443514499']['goods_name']; ?>" width="180" height="180">
                          </a>
                          <a class="goods_name" href="<?php echo $this->_var['goods_random_0_39673400_1443514499']['url']; ?>" target="_blank" title="<?php echo $this->_var['goods_random_0_39673400_1443514499']['goods_name']; ?>"><?php echo $this->_var['goods_random_0_39673400_1443514499']['goods_name']; ?></a>
                          <?php if ($this->_var['goods_random_0_39673400_1443514499']['promote_price']): ?>
                      <span class="shop_price"><?php echo $this->_var['goods_random_0_39673400_1443514499']['promote_price']; ?></span>
                          <?php else: ?>
                          <span class="shop_price"><?php echo $this->_var['goods_random_0_39673400_1443514499']['shop_price']; ?></span>
                          <?php endif; ?>
                          <span class="counts">已有<?php echo $this->_var['goods_random_0_39673400_1443514499']['counts']; ?>人好评</span>
                        </div>
                        <?php endif; ?>
                        <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
                  </li>
                  <li >
                    <?php $_from = $this->_var['goods_random']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'goods_random_0_39712100_1443514499');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['goods_random_0_39712100_1443514499']):
?>
                    <?php if ($this->_var['key'] >= 5 && $this->_var['key'] < 10): ?>
                    <div class="box1">
                      <a href="<?php echo $this->_var['goods_random_0_39712100_1443514499']['url']; ?>" target="_blank">
                            <img src="images/defaultico.gif" class="loadimg loadbg" data-original="<?php echo $this->_var['goods_random_0_39712100_1443514499']['goods_thumb']; ?>" alt="<?php echo $this->_var['goods_random_0_39712100_1443514499']['goods_name']; ?>" width="180" height="180">
                          </a>
                          <a class="goods_name" href="<?php echo $this->_var['goods_random_0_39712100_1443514499']['url']; ?>" target="_blank" title="<?php echo $this->_var['goods_random_0_39712100_1443514499']['goods_name']; ?>"><?php echo $this->_var['goods_random_0_39712100_1443514499']['goods_name']; ?></a>
                          <?php if ($this->_var['goods_random_0_39712100_1443514499']['promote_price']): ?>
                      <span class="shop_price"><?php echo $this->_var['goods_random_0_39712100_1443514499']['promote_price']; ?></span>
                          <?php else: ?>
                          <span class="shop_price"><?php echo $this->_var['goods_random_0_39712100_1443514499']['shop_price']; ?></span>
                          <?php endif; ?>
                          <span class="counts">已有<?php echo $this->_var['goods_random_0_39712100_1443514499']['counts']; ?>人好评</span>
                        </div>
                        <?php endif; ?>
                        <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
                  </li>
                      <li>
                    <?php $_from = $this->_var['goods_random']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'goods_random_0_39746200_1443514499');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['goods_random_0_39746200_1443514499']):
?>
                    <?php if ($this->_var['key'] >= 10 && $this->_var['key'] < 15): ?>
                    <div class="box1">
                      <a href="<?php echo $this->_var['goods_random_0_39746200_1443514499']['url']; ?>" target="_blank">
                            <img src="images/defaultico.gif" class="loadimg loadbg" data-original="<?php echo $this->_var['goods_random_0_39746200_1443514499']['goods_thumb']; ?>" alt="<?php echo $this->_var['goods_random_0_39746200_1443514499']['goods_name']; ?>" width="180" height="180">
                          </a>
                          <a class="goods_name" href="<?php echo $this->_var['goods_random_0_39746200_1443514499']['url']; ?>" target="_blank" title="<?php echo $this->_var['goods_random_0_39746200_1443514499']['goods_name']; ?>"><?php echo $this->_var['goods_random_0_39746200_1443514499']['goods_name']; ?></a>
                          <?php if ($this->_var['goods_random_0_39746200_1443514499']['promote_price']): ?>
                      <span class="shop_price"><?php echo $this->_var['goods_random_0_39746200_1443514499']['promote_price']; ?></span>
                          <?php else: ?>
                          <span class="shop_price"><?php echo $this->_var['goods_random_0_39746200_1443514499']['shop_price']; ?></span>
                          <?php endif; ?>
                          <span class="counts">已有<?php echo $this->_var['goods_random_0_39746200_1443514499']['counts']; ?>人好评</span>
                        </div>
                        <?php endif; ?>
                        <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
                  </li>
                    </ul>
                </div>
              </div>
            </div>
        </div>

        
        <div class="recent_browse">
            <div class="top">
                <span class="title">最近浏览</span>
            </div>
            <div class="box_1">
            <div class="top">历史浏览记录</div>
            <div class="boxCenterList clearfix" id='history_list' >
                <?php 
$k = array (
  'name' => 'history',
);
echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash;
?>
                <?php $_from = $this->_var['goods_random']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'goods_random_0_39798400_1443514499');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['goods_random_0_39798400_1443514499']):
?>
                <ul class="clearfix">
                    <li class="goodsimg">
                        <a href="<?php echo $this->_var['goods_random_0_39798400_1443514499']['url']; ?>" target="_blank">
                            <img src="images/defaultico.gif" class="loadimg loadbg" data-original="<?php echo $this->_var['goods_random_0_39798400_1443514499']['goods_thumb']; ?>" alt="<?php echo $this->_var['goods_random_0_39798400_1443514499']['goods_name']; ?>" class="B_blue"></a>
                    </li>
                    <li class="goods_some">
                        <a class="goods_name" href="<?php echo $this->_var['goods_random_0_39798400_1443514499']['url']; ?>" target="_blank" title="<?php echo $this->_var['goods_random_0_39798400_1443514499']['goods_name']; ?>"><?php echo $this->_var['goods_random_0_39798400_1443514499']['goods_name']; ?></a>
                        <br>
                        <?php if ($this->_var['goods_random_0_39798400_1443514499']['promote_price']): ?> <font class="f1"><span><?php echo $this->_var['goods_random_0_39798400_1443514499']['promote_price']; ?></span></font>
                        <br>
                        <?php else: ?> <font class="f1"><span><?php echo $this->_var['goods_random_0_39798400_1443514499']['shop_price']; ?></span></font>
                        <br>
                        <?php endif; ?> </li>
                </ul>
                <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
            </div>
            </div>
        </div>
        </div>
    </div>

  </div>
</div>
<?php echo $this->fetch('common/footer_ad.lbi'); ?>
<?php echo $this->fetch('common/page_footer.lbi'); ?>
<?php echo $this->fetch('common/follow_right.lbi'); ?>
<?php echo $this->smarty_insert_scripts(array('files'=>'glair.js,jquery.flexslider-min.js')); ?>
<script type="text/javascript">
    $(function(){
        $('.you_like .top .right').click(function(){
            $('.flex-next').click();
        });
    })
</script>
<script type="text/javascript">
    function ajax_like(id,obj){
        htmlobj=$.ajax({url:"goods.php?act=click&id="+id, async:false, dataType:"text", success: function(text){
            $(obj).parent().find('.like_num').text(text);
        }});
    }
</script>

  
<script>
    $(window).load(function() {
        $('.flexslider').flexslider({
            animation: "slide",
            controlNav: true,
            animationLoop: true,
            slideshow: true,
        });
    });
</script>

<script type="text/javascript">
    function brands_more(){
        $("#brands_list_right").css('height', 'auto');
        $("#brands_list_right").css('overflow', 'auto');
        $("#brands_list_some").css('display', 'block');
        $("#brands_list_more").css('display', 'none');
    }

    function brands_some(){
        $("#brands_list_right").scrollTop(0);
        $("#brands_list_right").css('height', '56px');
        $("#brands_list_right").css('overflow', 'hidden');
        $("#brands_list_some").css('display', 'none');
        $("#brands_list_more").css('display', 'block');
    }

</script>


<script type="text/javascript">
    var goods_list_height = document.getElementById("goods_list").offsetHeight;
    if(goods_list_height < 400){
        document.getElementById("cate_right").style.height = 1147 + 'px'; //4个
    }else if(goods_list_height > 400 && goods_list_height < 500){
        document.getElementById("cate_right").style.height = 1419 + 'px'; //5个
    }else if(goods_list_height > 500 && goods_list_height < 1000){
        document.getElementById("cate_right").style.height = 1963 + 'px'; //7个
    }else if(goods_list_height > 1000 && goods_list_height < 1400){
        document.getElementById("cate_right").style.height = 2507 + 'px'; //9个
    }else if(goods_list_height > 1400 && goods_list_height < 1800){
        document.getElementById("cate_right").style.height = 2779 + 'px'; //10个
    }else if(goods_list_height > 1800 && goods_list_height < 2300){
        document.getElementById("cate_right").style.height = 3323 + 'px'; //12个
    }else if(goods_list_height > 2300 && goods_list_height < 2500){
        document.getElementById("cate_right").style.height = 3595 + 'px'; //13个
    }else{
        document.getElementById("cate_right").style.height = 4139 + 'px'; //15个
    }
</script>
</body>

</html>
